<admintpl file="header" />
<style type="text/css">
.pic-list li {
	margin-bottom: 5px;
}
</style>
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Slistadmin/index')}">设备明细</a></li>
			<li class="active"><a href="{:U('Slistadmin/add',array('term'=>empty($term['term_id'])?'':$term['term_id']))}" target="_self">{:L('EDIT')}</a></li>
		</ul>
		
			<form method="post" class="form-horizontal js-ajax-form" action="__CONTROLLER__/edit_post">
					<fieldset>
						<fieldset>
								<div class="control-group">
									<label class="control-label">{:L('TYPENAME')}</label>									
									<div class="controls">
										<input type="text" name="type_name" value="{$typeinfo.type_name}">
									</div>					
								</div>								
					</fieldset>
					</fieldset>
					<div class="form-actions">
						<button type="submit" class="btn btn-primary js-ajax-submit">{:L('SUBMIT')}</button>
						<a class="btn" href="{:U('Stypeadmin/index')}">{:L('BACK')}</a>
					</div>
					<input type="hidden" name="id" value="{$typeinfo.type_id}" />
				</form>
	</div>	
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	
</body>
</html>